import {createStore,applyMiddleware} from 'redux'
import countReducer from '../Reducers/counReducer'
import thunk from 'redux-thunk'

// createStore的第一个参数 是接收reducer函数的 第二个参数是调用中间件的
const Store = createStore(countReducer,applyMiddleware(thunk))

export default Store